#if !defined(AFX_REMOTEUSERCFG_H__DF187A09_A12B_4738_B7ED_75630846248F__INCLUDED_)
#define AFX_REMOTEUSERCFG_H__DF187A09_A12B_4738_B7ED_75630846248F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RemoteUserCFG.h : header file
//
#define SDK_V15
/////////////////////////////////////////////////////////////////////////////
// CRemoteUserCFG dialog

class CRemoteUserCFG : public CDialog
{
// Construction
public:
	CRemoteUserCFG(CWnd* pParent = NULL);   // standard constructor

	int		m_iChannelnumber;
	LONG	m_lServerID;
	LONG	m_lStartChannel;
	int		m_usernum;
	CString m_loginname;
	NET_DVR_USER_EX m_user;
	BOOL m_bSuperUser;
	BOOL bSetUserParams;
	BOOL	m_bConnectServer;

	BOOL F_ShowChan(int nChan, BOOL bFlag);
	BOOL F_ShowLocalChan(int nChan, BOOL bFlag);
	BOOL F_ShowPreChan(int nChan, BOOL bFlag);
// Dialog Data
	//{{AFX_DATA(CRemoteUserCFG)
	enum { IDD = IDD_DLG_USERCFG };
	CComboBox	m_UserCtrl;
	BOOL	m_Right1;
	BOOL	m_Right2;
	BOOL	m_Right21;
	BOOL	m_Right22;
	BOOL	m_Right23;
	BOOL	m_Right24;
	BOOL	m_Right25;
	BOOL	m_Right26;
	BOOL	m_Right27;
	BOOL	m_Right28;
	BOOL	m_Right29;
	BOOL	m_Right3;
	BOOL	m_Right30;
	BOOL	m_Right31;
	BOOL	m_Right4;
	BOOL	m_Right5;
	BOOL	m_Right6;
	CString	m_UserIP;
	CString	m_UserName;
	CString	m_UserPSW;
	CString	m_UserVerifyPSW;
	CString	m_UserMACAddr1;
	CString	m_UserMACAddr2;
	CString	m_UserMACAddr3;
	CString	m_UserMACAddr4;
	CString	m_UserMACAddr5;
	CString	m_UserMACAddr6;
	BOOL	m_bChan1;
	BOOL	m_bChan10;
	BOOL	m_bChan11;
	BOOL	m_bChan12;
	BOOL	m_bChan14;
	BOOL	m_bChan13;
	BOOL	m_bChan15;
	BOOL	m_bChan16;
	BOOL	m_bChan2;
	BOOL	m_bChan3;
	BOOL	m_bChan4;
	BOOL	m_bChan5;
	BOOL	m_bChan6;
	BOOL	m_bChan7;
	BOOL	m_bChan8;
	BOOL	m_bChan9;
	BOOL	m_bLocalChan1;
	BOOL	m_bLocalChan2;
	BOOL	m_bLocalChan3;
	BOOL	m_bLocalChan4;
	BOOL	m_bLocalChan5;
	BOOL	m_bLocalChan6;
	BOOL	m_bLocalChan7;
	BOOL	m_bLocalChan8;
	BOOL	m_bLocalChan9;
	BOOL	m_bLocalChan10;
	BOOL	m_bLocalChan11;
	BOOL	m_bLocalChan12;
	BOOL	m_bLocalChan13;
	BOOL	m_bLocalChan14;
	BOOL	m_bLocalChan15;
	BOOL	m_bLocalChan16;
	BOOL	m_bPreChan1;
	BOOL	m_bPreChan2;
	BOOL	m_bPreChan3;
	BOOL	m_bPreChan4;
	BOOL	m_bPreChan5;
	BOOL	m_bPreChan6;
	BOOL	m_bPreChan7;
	BOOL	m_bPreChan8;
	BOOL	m_bPreChan9;
	BOOL	m_bPreChan10;
	BOOL	m_bPreChan11;
	BOOL	m_bPreChan12;
	BOOL	m_bPreChan13;
	BOOL	m_bPreChan14;
	BOOL	m_bPreChan15;
	BOOL	m_bPreChan16;
	//}}AFX_DATA
	afx_msg void OnUserok();


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRemoteUserCFG)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRemoteUserCFG)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCombousersel();
	afx_msg void OnExit();
	virtual void OnCancel();
	afx_msg void OnChkright23();
	afx_msg void OnChkright3();
	afx_msg void OnChkright28();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REMOTEUSERCFG_H__DF187A09_A12B_4738_B7ED_75630846248F__INCLUDED_)
